package cn.trigram.example.designpattern.command;

//删文件命令
public class CommandDelete extends Command {

  public CommandDelete(MakeFile makeFile) {

    this.makeFile = makeFile;
  }

  @Override
  public void execute(String name) throws Exception {

    makeFile.deleteFile(name);
  }

}
